<extend  name="Index/index" />
<block name="css1">
    <link rel="stylesheet" href="__ROOT__/public/mycss/user_edit.css">
</block>
<block name="main">
<div class="placeholder-height"></div><div class="edit-warp" id="per_center">
    <div class="user-container">
        <div class="go-back"><a href="<{:U('User/index')}>"><i class="icon icon-go-back"></i>返回我的个人中心主页</a></div>

        <div class="nav-warp">
            <ul>
                <li class="active"><a href="<{:U('User/edit')}>">修改资料</a></li>
                <li class=""><a href="<{:U('User/account_info')}>">账户信息</a></li>
                <li class=""><a href="<{:U('User/account_binding')}>">账户绑定</a></li>
            </ul>
        </div>
        <block name="up_img">
    <div class="section-box">
    <div class="user-face-box">

    <empty name="_SESSION['user']['headimg_id']">
        <!-- 图像为空时,显示默认头像 -->
        <img src="__ROOT__/public/imgs/head_img.jpg" class="headimg center">
    <else />
        <img src="__ROOT__/Uploads/<{$_SESSION['user']['img_150']}>">
    </empty>



    </div>
    <a class="edit-face" href="<{:U('User/account_info')}>">点击更换头像</a>
</div>

<!-- <{:V($_SESSION)}> -->
<div class="form-warp ">
    <label class="control-label">真实姓名：</label>
    <input class="control-input" id="name" value="<{$_SESSION['user']['real_name']}>">


    <!-- <div class="btn-group  btn-group-box pull-right js-dropdown-menu">
        <span class="btn btn-default btn-dropdown-show js-dropdown-show" id="s" data-pmt="name" value="1">仅虎嗅可见</span>
    </div> -->
</div>

<div class="form-warp">
    <label class="control-label">性别：</label>
    <div class="sex-warp" id="sex">
        <label class="radio-inline ">
            <i class="icon icon-radio"></i>
            <input type="radio" name="sex" id="mdf_male" value="1">男
        </label>
        <label class="radio-inline ">
            <i class="icon icon-radio"></i>
            <input type="radio" name="sex" id="mdf_female" value="2">女
        </label>
        <label class="radio-inline active">
            <i class="icon icon-radio"></i>
            <input type="radio" name="sex" id="mdf_secret" value="0">保密
        </label>
    </div>

    <!-- <div class="btn-group  btn-group-box pull-right js-dropdown-menu">
        <span class="btn btn-default btn-dropdown-show js-dropdown-show" data-pmt="sex" value="0">所有人可见</span>
    </div> -->
</div>




<div class="form-warp">
    <label class="control-label">出生日期：</label>
<!-- 
    <div class="js-form-group-birth form-group-birth">
        <div id="mdf_birthyear" class="pull-left btn-group has-feedback js-dropdown-menu">

            <span id="b_y_show" class="btn btn-default dropdown-show-birth btn-dropdown-show js-dropdown-show" value="1">0</span>

            <button type="button" class="btn btn-default dropdown-toggle dropdown-caret" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                <span class="caret"></span>
            </button>

            <ul class="dropdown-menu dropdown-menu-birth" role="menu" id="b_y">
            <li class="menu-item js-menu-item">2016</li>
            <li class="menu-item js-menu-item">2015</li>
            <li class="menu-item js-menu-item">1916</li>
            </ul>

        </div>
        <span class="birth-des">年</span>

        <div id="mdf_birthmonth" class="pull-left btn-group has-feedback js-dropdown-menu">

            <span id="b_m_show" class="btn btn-default btn-dropdown-show js-dropdown-show birthyear" value="1">0</span>
            <button type="button" class="btn btn-default dropdown-toggle dropdown-caret" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                <span class="caret"></span>
            </button>
            <ul class="dropdown-menu dropdown-menu-birth" role="menu" id="b_m">
                <li><span class="trangle trangle-top"></span></li>
                <li class="menu-item js-menu-item">1</li>
                <li class="menu-item js-menu-item">2</li>
            </ul>
        </div>


        <span class="birth-des">月</span>

        <div id="mdf_birthday" class="pull-left btn-group has-feedback js-dropdown-menu">
            <span id="b_d_show" class="btn btn-default dropdown-show-birth btn-dropdown-show js-dropdown-show" value="1">0</span>

            <button type="button" class="btn btn-default dropdown-toggle dropdown-caret  js-dropdown-caret" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                <span class="caret"></span>
            </button>

            <ul class="dropdown-menu dropdown-menu-birth" role="menu" id="b_d">
                <li><span class="trangle trangle-top"></span></li>
                <li class="menu-item js-menu-item">1</li>
                <li class="menu-item js-menu-item">2</li>
            </ul>

        </div>
        <span class="birth-des">日</span>

    </div> -->



    <input class="control-input" id="birthday" value="<{$_SESSION['user']['birthday']}>">

    <!-- <div class="btn-group  btn-group-box pull-right js-dropdown-menu">
        <span class="btn btn-default btn-dropdown-show js-dropdown-show" data-pmt="birthyear" value="1">仅虎嗅可见</span>
    </div> -->
</div>





<div class="form-warp">
    <label class="control-label">所在公司：</label>
    <input class="control-input" id="company" value="<{$_SESSION['user']['company']}>">

    <!-- <div class="btn-group  btn-group-box pull-right js-dropdown-menu">
        <span class="btn btn-default btn-dropdown-show js-dropdown-show" data-pmt="company" value="1">仅虎嗅可见</span>
    </div> -->
</div>




<div class="form-warp">
    <label class="control-label">职位：</label>
    <input class="control-input" id="job" value="<{$_SESSION['user']['job']}>">

    <!-- <div class="btn-group  btn-group-box pull-right js-dropdown-menu">
        <span class="btn btn-default btn-dropdown-show js-dropdown-show" data-pmt="job" value="0">所有人可见</span>
    </div> -->
</div>



<div class="form-warp">
    <label class="control-label">居住地址：</label>
    <input class="control-input" id="address" value="<{$_SESSION['user']['address']}>">

    <!-- <div class="btn-group  btn-group-box pull-right js-dropdown-menu">
        <span class="btn btn-default btn-dropdown-show js-dropdown-show" data-pmt="address" value="1">仅虎嗅可见</span>
    </div> -->
</div>



<div class="form-warp">
    <label class="control-label">邮箱：</label>
<input class="control-input" id="email" value="<{$_SESSION['user']['email']}>">
<!--     <div class="control-box" id="often_email"> <a href="#" target="_blank"><i class="icon icon icon-edit"></i></a></div> -->

    <!-- <div class="btn-group  btn-group-box pull-right js-dropdown-menu">
        <span class="btn btn-default btn-dropdown-show js-dropdown-show" data-pmt="often_email" value="1">仅虎嗅可见</span>
    </div> -->
</div>


<div class="form-warp">
    <label class="control-label">手机号码：</label>
    <input class="control-input" id="phone" value="<{$_SESSION['user']['phone']}>">

    <!-- <div class="control-box" id="phone">15906203474<a href="" target="_blank"><i class="icon icon icon-edit"></i></a></div> -->

    <!-- <div class="btn-group  btn-group-box pull-right js-dropdown-menu">
        <span class="btn btn-default btn-dropdown-show js-dropdown-show" data-pmt="phone" value="1">仅虎嗅可见</span>
    </div> -->
</div>


<!-- <div class="form-warp">
    <label class="control-label">微博：</label>
    <input class="control-input" id="weibo" value="">

    <div class="btn-group  btn-group-box pull-right js-dropdown-menu">
        <span class="btn btn-default btn-dropdown-show js-dropdown-show" data-pmt="weibo" value="0">所有人可见</span>
    </div>
</div>




<div class="form-warp">
    <label class="control-label">微信：</label>
    <input class="control-input" id="weixin" value="">

    <div class="btn-group  btn-group-box pull-right js-dropdown-menu">
        <span class="btn btn-default btn-dropdown-show js-dropdown-show" data-pmt="weixin" value="0">所有人可见</span>
    </div>
</div> -->



<button class="btn btn-save" id="save" type="submit" >保存</button>
<p id="mess" class="mess" style="width:250px;height:50px;background-color:#abcdef; border-radius:10px;float:right;margin-top:32px;font-size:30px;text-align:center;line-height:50px;display:none;">已保存</p>

    </div>
</div>

<block name="bootstrap">
    <script src="__ROOT__/public/js/jquery.min.js"></script>
    <script src="__ROOT__/public/js/bootstrap.min.js"></script>
    <script src="__ROOT__/public/myjs/user_edit.js"></script>
    <script>
      var  url="<{:U('User/edit_Ajax')}>";
    </script>
</block

>
</block>
</block>
